Skip to content

Support using container entrypoints for shell tasks #822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

tclose
Copy link
Contributor

@tclose tclose commented May 5, 2025

Types of changes

  • New feature (non-breaking change which adds functionality)

Summary

When executing shell commands in Docker/Singularity containers, permit setting executable to None in order to use the entrypoint of the container.

Checklist

  • I have added tests to cover my changes (if necessary)
  • I have updated documentation (if necessary)

Copy link

codecov bot commented May 5, 2025

Codecov Report

Attention: Patch coverage is 16.07143% with 47 lines in your changes missing coverage. Please review.

Project coverage is 57.64%. Comparing base (47c3958) to head (b913f30).

Files with missing lines Patch % Lines
pydra/environments/tests/test_environments.py 13.04% 20 Missing ⚠️
pydra/environments/base.py 21.42% 11 Missing ⚠️
pydra/compose/shell/builder.py 12.50% 7 Missing ⚠️
pydra/compose/shell/task.py 14.28% 6 Missing ⚠️
pydra/environments/docker.py 0.00% 1 Missing ⚠️
pydra/environments/native.py 0.00% 1 Missing ⚠️
pydra/environments/singularity.py 0.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (47c3958) and HEAD (b913f30). Click for more details.

HEAD has 16 uploads less than BASE
Flag BASE (47c3958) HEAD (b913f30)
22 6
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #822       +/-   ##
===========================================
- Coverage   87.89%   57.64%   -30.26%     
===========================================
  Files          84       84               
  Lines       17890    17907       +17     
  Branches     3483     1556     -1927     
===========================================
- Hits        15725    10323     -5402     
- Misses       1809     7399     +5590     
+ Partials      356      185      -171     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tclose tclose force-pushed the container-entrypoint branch from dd382ca to d7a9b2a Compare May 6, 2025 00:13
@tclose tclose force-pushed the container-entrypoint branch from 6f08e7b to 38a1db8 Compare May 13, 2025 04:52
@tclose tclose force-pushed the container-entrypoint branch from 38a1db8 to b913f30 Compare June 21, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant